completing the square to graph ellipse